package com.itbaizhan.openhis.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itbaizhan.openhis.domain.Producer;
import com.itbaizhan.openhis.dto.ProducerDto;
import com.itbaizhan.openhis.vo.DataGridView;

import java.util.List;

/**
* @author Administrator
* @description 针对表【stock_producer(生产厂家表)】的数据库操作Service
* @createDate 2022-08-08 16:20:10
*/
public interface ProducerService extends IService<Producer> {

    DataGridView listProducterForPage(ProducerDto producerDto);

    int addProducter(ProducerDto producerDto);

    int updateProducter(ProducerDto producerDto);

    Producer getProducterById(Long producterId);

    int deleteProducterByIds(Long[] producterIds);

    List<Producer> selectAllProducter();
}
